@import '../../../res/theme/xxhz.scss';

.view-inline {
  display: inline-block;
}

.scenicBigGoodsBox {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 30px;

  .discount {
    min-width: 50px;
    letter-spacing: 1px;
    color: #fff;
    background-color: #ff2402;
    border-radius: 26px 26px 26px 0;
    text-align: center;
    margin-left: 6px;
    padding: 4px 10px;
    font-size: 18px;
    white-space: nowrap;
  }

  .share-earn {
    width: 116Px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url("https://resource.ivcheng.com/upload/images/20210824/1629767380064_99.png") no-repeat;
    background-size: cover;

    .share-left {
      font-weight: bold;
      margin-top: 8px;
      width: 50%;
      font-size: 20px;
      color: #332215;
    }

    .price {
      min-width: 50%;
      color: #fff;
      font-size: 20px;

      .true-price-share {
        color: #fff;
        font-size: 35px;
        font-weight: 600;
      }
    }
  }

  .snapped-up {
    font-weight: bold;
    width: 160px;
    padding: 8Px 4Px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 32px;
    text-align: center;
    color: #000;
    background: #ffdd09;
    font-size: 22px;
  }

  .goods-like-left {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-direction: initial !important;
    margin-top: 12px;

    .recommendation-block-item-bottom-right {

      .recommendation-block-item-bottom-right-btn {
        background-color: #ffdd09;
        font-weight: bold;
        font-size: 24px;
        padding: 15px 40px;
        border-radius: 30px;
        position: relative;
        left: -10px;
      }
    }
  }

  .good-item {
    width: 100%;
    display: flex;
    padding: 30px 0;
    border-bottom: solid 1Px #efefef;

    .img-box {
      width: 220px;
      height: 220px;
      border-radius: 10px;
      overflow: hidden;
      flex-shrink: 0;
      position: relative;

      .img {
        width: 220px;
        height: 220px;
        display: block;
      }
    }

    .big-right {
      padding-left: 20px;
      display: flex;
      justify-content: space-between;
      flex-direction: column;
      background-color: white;
      width: calc(100% - 204px - 40px);

      .labels {
        display: flex;
        flex-wrap: wrap;
        margin-top: -8px;

        .label {
          margin-top: 12px;
          background-color: #fffaea;
          color: #fe9f01;
          border-radius: 30px;
          font-size: 22px;
          padding: 4px 20px;
          margin-right: 10px;
        }

        .label:last-child {
          margin-right: 0;
        }
      }

      .name {
        margin: 0 0 6px;
        font-size: 30px;
        font-weight: bold;
        -webkit-line-clamp: 2;
        /*! autoprefixer: ignore next */
        -webkit-box-orient: vertical;
        /* autoprefixer: on */
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
      }

      .salesVolume {
        margin-top: 10px;
        font-size: 22px;
        color: $color-font-less;
        box-sizing: border-box;
      }

      .subTitle {
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 14px;
        /*! autoprefixer: ignore next */
        -webkit-box-orient: vertical;
        /* autoprefixer: on */
        -webkit-line-clamp: 2;
        display: -webkit-box;
        font-size: 24px !important;
        color: #676768 !important;
      }

      .left {
        overflow: hidden;
        display: flex;
        flex-direction: column;

        .price {
          justify-content: center;
          font-size: 22px;
          display: flex;
          align-items: baseline;

          .mark {
            font-weight: bold;
            font-family: Avenir;
            color: $color-price;
          }

          .main {
            font-size: 36px;
            font-weight: bold;
            padding-left: 2px !important;
          }

          .market-price {
            margin-left: 8px;
            font-family: Avenir;
            text-decoration: line-through;
            color: #999;
          }

          .margin-left {
            margin-left: 10px;
          }
        }

        .right {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: space-between;

        }
      }
    }

    &:first-child {
      padding-top: 10px;
    }
  }

  .good-item:last-child {
    border-bottom: none;
  }
}
